package com.coda.clouddisk.controller.impl;

import com.coda.clouddisk.controller.SuperController;
import com.coda.clouddisk.controller.inter.FriendCategoryController;
import com.coda.clouddisk.service.impl.FriendCategoryServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


import java.util.Map;
@RestController
@RequestMapping("/clouddisk/friendCategory")
public class FriendCategoryControllerImpl extends SuperController implements FriendCategoryController {

    @Autowired
    private FriendCategoryServiceImpl friendCategoryService;

    @Override
    public Map<String, Object> convertData(Map<String, Object> data) {
        setSuperService(friendCategoryService);
        return data;
    }
}
